package com.big.model.model.buyer;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.HashMap;
import java.util.Map;

@Data
@ApiModel(description = "买家秀照片组")
@TableName("buyer_photo_cord")
public class BuyerPhotoCord {

    @ApiModelProperty(value = "用户编号")
    @TableField("p_id")
    private Long pId;


    @ApiModelProperty(value = "商品编号")
    @TableField("m_id")
    private Long mId;


    @ApiModelProperty(value = "照片网络地址")
    @TableField("buyer_m_url_site")
    private String buyerMUrlSite;


    @ApiModelProperty(value = "(0标识未删除,1标识已删除)")
    @TableField("is_deleted")
    private Integer isDeleted;


    @ApiModelProperty(value = "建组时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField("create_time")
    private Date createTime;


    @ApiModelProperty(value = "其他参数")
    @TableField(exist = false)
    private Map<String,Object> param = new HashMap<>();


}
